package com.example.hospitallogin.assembly;

/**
 * @author qiancheng@cqxyy.net
 * @date 2022/9/19
 */
public enum CustomResultCode {
    SUCCESS(200),
    LOGINERROR(201),
    REGISTERERROR(202),
    ACCOUNTERROR(203);

    private int code;

    CustomResultCode(int code){
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
